package com.mdlib.helper.model.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * 作者：HQY on 16/11/17 13:15
 * 邮箱：hqy_xz@126.com
 */

public class VoucherEntity implements Serializable{

    /**
     * title : 抵挡1块钱
     * expire_time : 1479673630
     * value : 1.00
     * status : -1
     */

    private String title;
    @SerializedName("expire_time")
    private int expireTime;
    private String value;
    private int status;
    private int id;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    private boolean isSelected;


    public boolean isSelected() {
        return isSelected;
    }

    public void setSelected(boolean selected) {
        isSelected = selected;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(int expireTime) {
        this.expireTime = expireTime;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }


    @Override
    public String toString() {
        return "VoucherEntity{" +
                "title='" + title + '\'' +
                ", expireTime=" + expireTime +
                ", value='" + value + '\'' +
                ", status=" + status +
                '}';
    }
}
